# coding:utf-8
for row in range(0, 9):
    for col in range(0, row + 1):
        print(f"{col + 1} * {row + 1} = {(col + 1) * (row + 1)}", end="\t")
    print()
